import thenFs from 'then-fs';

async function fn() {
    try {
        let str1 = await thenFs.readFile('./01-txt/a.txt', 'utf8')
        console.log(str1);
        let str2 = await thenFs.readFile('./01-txt/b.txt', 'utf8')
        console.log(str2);
        let str3 = await thenFs.readFile('./01-txt/c.txt', 'utf8')
        console.log(str3);
    } catch (e) {
        console.log(e.message);
    } finally {
        console.log('无论如何都要执行的代码');
    }
}
fn()